 <#include "../common/layout.html"/>
 <@layout title1="工具" title2="用户管理">
		<script>
			function cancel(){
				location.href = "${basepath!}/admin/user/list";
			}
		</script>
 
<div class="row-fluid">

<div class="well">
	    <form id="user" class="form-horizontal" method="post" action="${basepath!}/admin/user/save">
	    	<input type="hidden" name="bean.id" value="${(bean.id)!}"/>
	   		<div class="control-group">
		    <label class="control-label">账号</label>
		    <div class="controls">
		    	 <span class="input-xlarge uneditable-input">${(bean.email)!}</span>
		   </div>
		  </div>
		  <div class="control-group">
		    <label class="control-label">昵称</label>
		    <div class="controls">
		      <input value="${(bean.nick_name)!}" type="text" name="bean.nick_name" class="input-xlarge" id="inputTitle" placeholder="请输入昵称"/>
		    </div>
		  </div>
		
		<div class="btn-toolbar" style=" text-align:center; margin:0 auto;">
		    <button class="btn btn-primary" type="submit">保存</button>
		    <button type="button" onclick="cancel()" class="btn btn-danger">取消</button>
		</div>
	</form>
		
</div>

</div>
</@layout>